package com.zan.pattern.memento.white_box;

/**
 * @Author Zan
 * @Create 2024/4/27 20:54
 * @Description : 备忘录管理对象
 * @ClassName: RoleStateCaretaker
 */
public class RoleStateCaretaker {

    // 声明RoleStateMemento类型的变量
    private RoleStateMemento roleStateMemento;

    public RoleStateMemento getRoleStateMemento() {
        return roleStateMemento;
    }

    public void setRoleStateMemento(RoleStateMemento roleStateMemento) {
        this.roleStateMemento = roleStateMemento;
    }
}
